package com.kube.design.adapter;

/**
 * @author q.zhangr
 * @version 1.0.0
 * @date 2020/7/20
 */
public class ElectricAdapter implements Motor {

    private ElectricMotor emotor;

    public ElectricAdapter() {
        emotor = new ElectricMotor();
    }

    @Override
    public void drive() {
        emotor.electricDrive();
    }
}
